package com.one_2.factory;

import com.one_2.service.IFactory;

/**
 * @author SunChangSheng
 * @apiNote
 * @since 2021/12/7 17:47
 */
public class AliPayFactory implements IFactory {
    @Override
    public boolean pay(String account) {
        //验证信息
        //加密解密等操作
        System.out.println("支付宝支付，账号为" + account);
        return true;
    }
}
